export let  throttling  = function (timeout, fn) {
    let _playing = null
    return function () {
        let _arg = arguments
        if (_playing) {
            return
        }
        _playing = true
        setTimeout(() => {
            fn.apply(this, _arg)
            _playing = false
        }, timeout)
    }
}